package com.atguigu.gmall.web.config;


import com.atguigu.gmall.common.annotation.EnableUserHeaderInterceptor;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2024/9/10 8:59
 */
@Component
@EnableRabbit
@EnableUserHeaderInterceptor
@EnableFeignClients(basePackages = {"com.atguigu.gmall.feign.product",
        "com.atguigu.gmall.feign.item", "com.atguigu.gmall.feign.list", "com.atguigu.gmall.feign.cart",
        "com.atguigu.gmall.feign.order","com.atguigu.gmall.feign.seckill","com.atguigu.gmall.feign.user"})
@Configuration
public class WebAllConfig {
}
